home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / kats.z / kats
Text File  |  1998-10-30  |  7KB  |  199 lines

  1.  
  2.  
  3.  
  4.      KKKKAAAATTTTSSSS((((1111))))        KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333))))        KKKKAAAATTTTSSSS((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           kats, kscp, ksmv, ksrm -  K-AShare File Manipulation
  10.           Utilities
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           kkkkaaaattttssss [ ----sssscccciiiippppSSSSbbbb ] [ ----TTTTCCCC _t_y_p_e ] [ _f_i_l_e_n_a_m_e ... ]
  14.           kkkkaaaattttssss ----oooo [ _d_i_r_n_a_m_e ]
  15.           kkkkssssccccpppp _f_i_l_e_1 [ _f_i_l_e_2 ...  ] _t_a_r_g_e_t
  16.           kkkkssssmmmmvvvv _f_i_l_e_1 [ _f_i_l_e_2 ...  ] _t_a_r_g_e_t
  17.           kkkkssssrrrrmmmm _f_i_l_e ...
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.           These routines let you copy, delete, move and set AppleShare
  21.           attributes for K-AShare files.
  22.  
  23.           K-AShare stores AppleShare specific information, such as
  24.           file Type and Creator and the resource fork, in several
  25.           utility files. This information will be lost if you use
  26.           _c_p(_1), _m_v(_1) and _r_m(_1), to move K-AShare files around a unix
  27.           filesystem.  If you use _k_s_c_p, _k_s_m_v, and _k_s_r_m, the AppleShare
  28.           info will be moved or deleted as necessary.
  29.  
  30.           _K_a_t_s is an administrative program used to view and set
  31.           various AppleShare file attributes, including the invisible
  32.           and copy-protected attributes and the Type and Creator
  33.           fields.  _I_n_v_i_s_i_b_l_e files and directories  will not be
  34.           visible to Appleshare clients. The Macintosh finder will
  35.           refuse to copy _c_o_p_y-_p_r_o_t_e_c_t_e_d files.  Directories cannot be
  36.           copy protected.
  37.  
  38.           When no options are supplied, _k_a_t_s prints out information
  39.           either about the specified files or all files in the current
  40.           directory if no files are specified.
  41.  
  42.           The attributes are in the .HSancillary file rather than in
  43.           the file itself.  Only the owner of files and root are
  44.           allowed to change attributes.
  45.  
  46.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  47.           ----ssss   Set the requested attributes.  This is the default.
  48.  
  49.           ----cccc   Clear the requested attributes.
  50.  
  51.           ----iiii   Make the file invisible.
  52.  
  53.           ----bbbb   The file has a bundle.
  54.  
  55.           ----SSSS   The file can be shared.
  56.  
  57.           ----oooo   Check for and delete "orphaned" resource forks from
  58.                _d_i_r_n_a_m_e (or the current directory if _d_i_r_n_a_m_e is
  59.                absent).  Orphaned resource forks are .HSResource
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 3/26/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      KKKKAAAATTTTSSSS((((1111))))        KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333))))        KKKKAAAATTTTSSSS((((1111))))
  71.  
  72.  
  73.  
  74.                directory entries that have no corresponding data
  75.                files.  Theses files will not appear in K-AShare
  76.                volumes. They can crop up when users use _c_p, _m_v and _r_m
  77.                instead of _k_s_c_p, _k_s_m_v, and _k_s_r_m to manipulate K-AShare
  78.                files.  This option has been superceded by the
  79.                _d_t_r_e_b_u_i_l_d(1m) ----cccclllleeeeaaaannnn option.
  80.  
  81.           ----pppp   Copy protect the file.
  82.  
  83.           ----TTTT _t_y_p_e
  84.                Change the Macintosh file type.
  85.  
  86.           ----CCCC _t_y_p_e
  87.                Change the Macintosh file creator.
  88.  
  89.      FFFFIIIILLLLEEEESSSS
  90.           */.HSancillary                File for additional file
  91.                                         information needed by
  92.                                         Macintosh.
  93.  
  94.           */.HSResource/*               Directory for storing the
  95.                                         resource fork of files
  96.  
  97.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  98.           Print information about all files in the current directory:
  99.                kats
  100.  
  101.           Make the file _f_o_o copy-protected:
  102.                kats -ps foo
  103.  
  104.           Make the file _f_o_o a TeachText file:
  105.                kats -T TEXT -C ttxt foo
  106.  
  107.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  108.           _K-_A_S_h_a_r_e _A_d_m_i_n_i_s_t_r_a_t_o_r'_s _G_u_i_d_e
  109.           _k_s_d(1)
  110.  
  111.      CCCCAAAAVVVVEEEEAAAATTTTSSSS
  112.           Once files are typed by K-AShare, the _f_i_l_e_t_y_p_e(_5) database
  113.           will not be consulted.  If you change the rules for typing a
  114.           particular type of file, it will not change the type of
  115.           already existing files of that type. _K_a_t_y_p_e(_1) can be used
  116.           to check the validity of your _f_i_l_e_t_y_p_e(_5) database.  _K_a_t_s
  117.           shows you the files as K-AShare currently has them typed.
  118.  
  119.      BBBBUUUUGGGGSSSS
  120.           _K_a_t_s normally should be run in the directory where the
  121.           specified files resides (although if one of the _f_i_l_e_n_a_m_e
  122.           args has a pathname component, _K_a_t_s will change to that
  123.           directory before processing).
  124.  
  125.           If you are not the super-user and you copy or move files
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 3/26/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      KKKKAAAATTTTSSSS((((1111))))        KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((22229999 JJJJuuuullll 1111999999996666 8888....3333))))        KKKKAAAATTTTSSSS((((1111))))
  137.  
  138.  
  139.  
  140.           that you do not own between different directories, the
  141.           permissions of the resulting files may not be set correctly.
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 3/26/98)
  196.  
  197.  
  198.  
  199.